/*
 * givebackmgr.h
 *
 *  Created on: Jun 23, 2014
 *      Author: killerg
 */

#ifndef GIVEBACKMGR_H_
#define GIVEBACKMGR_H_

struct slot_t {
	int32_t playerid;
	string code;
	string account;
	int32_t group;
};

struct giveback_mgr_t {
	bool init();
	void destroy();
	void update();
	bool reward_once();
	bool need_reward();
	int32_t cur_index;

	std::vector<slot_t> rewards;
};

#endif /* GIVEBACKMGR_H_ */
